<!DOCTYPE html>

<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/StyleLib.css")" rel="stylesheet" />
    <script src="@Url.Content("~/Scripts/jquery-1.6.2.min.js")" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


    @Html.DevExpress().GetStyleSheets(
    new StyleSheet { ExtensionSuite = ExtensionSuite.NavigationAndLayout },
    new StyleSheet { ExtensionSuite = ExtensionSuite.Editors },
    new StyleSheet { ExtensionSuite = ExtensionSuite.HtmlEditor },
    new StyleSheet { ExtensionSuite = ExtensionSuite.GridView },
    new StyleSheet { ExtensionSuite = ExtensionSuite.PivotGrid },
    new StyleSheet { ExtensionSuite = ExtensionSuite.Chart },
    new StyleSheet { ExtensionSuite = ExtensionSuite.Report },
    new StyleSheet { ExtensionSuite = ExtensionSuite.Scheduler },
    new StyleSheet { ExtensionSuite = ExtensionSuite.TreeList }
)
    @Html.DevExpress().GetScripts(
    new Script { ExtensionSuite = ExtensionSuite.NavigationAndLayout },
    new Script { ExtensionSuite = ExtensionSuite.HtmlEditor },
    new Script { ExtensionSuite = ExtensionSuite.GridView },
    new Script { ExtensionSuite = ExtensionSuite.PivotGrid },
    new Script { ExtensionSuite = ExtensionSuite.Editors },
    new Script { ExtensionSuite = ExtensionSuite.Chart },
    new Script { ExtensionSuite = ExtensionSuite.Report },
    new Script { ExtensionSuite = ExtensionSuite.Scheduler },
    new Script { ExtensionSuite = ExtensionSuite.TreeList }
)
</head>
<body>
    <div class="page-all">
        <div class="page-content">
            @Html.DevExpress().Splitter(settings =>
   {
       settings.Name = "MainSplitter";
       settings.AllowResize = false;
       settings.Orientation = System.Web.UI.WebControls.Orientation.Vertical;
       settings.FullscreenMode = true;
       settings.SeparatorVisible = false;
       settings.Styles.Pane.Border.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(0);
       settings.Styles.Pane.Paddings.Padding = System.Web.UI.WebControls.Unit.Pixel(0);

       settings.Panes.Add(pane =>
       {
           pane.Name = "Header";
           pane.Size = System.Web.UI.WebControls.Unit.Pixel(83);
           pane.MinSize = System.Web.UI.WebControls.Unit.Pixel(83);
           pane.PaneStyle.BorderBottom.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(1);
           pane.PaneStyle.CssClass = "headerPane";
           pane.SetContent(() =>
           {
               Html.RenderPartial("HeaderPartialView");
           });
       });

       settings.Panes.Add(pane =>
       {
           pane.Name = "Content";
           pane.PaneStyle.CssClass = "mainContentPane";
           pane.MinSize = System.Web.UI.WebControls.Unit.Pixel(250);
           pane.PaneStyle.BackColor = System.Drawing.Color.White;
           pane.PaneStyle.BorderBottom.BorderWidth = System.Web.UI.WebControls.Unit.Pixel(1);
           pane.SetContent(RenderBody().ToHtmlString());
       });

       settings.Panes.Add(pane =>
       {
           pane.Name = "Footer";
           pane.Size = System.Web.UI.WebControls.Unit.Pixel(30);
           pane.PaneStyle.CssClass = "footerPane";
           pane.SetContent(() =>
           {
               Html.RenderPartial("FooterPartialView");
           });
       });
   }).GetHtml()
        </div>
    </div>
</body>
</html>
